package com.collect.zambia.zhiScene.zhiWidget.zhiFilterDaily;

import com.collect.zambia.zhiUtils.StringUtil;

import org.jaaksi.pickerview.dataset.OptionDataSet;

import java.util.List;

public class ZHIRangeDay implements OptionDataSet {

    private String rangeId;
    private String dayTitle;

    @Override
    public List<? extends OptionDataSet> getSubs() {
        return null;
    }

    @Override
    public CharSequence getCharSequence() {
        return dayTitle;
    }

    @Override
    public String getValue() {
        return rangeId;
    }

    public void setRangeId(String rangeId) {
        this.rangeId = rangeId;
    }

    public void setDayTitle(String dayTitle) {
        this.dayTitle = dayTitle;
    }

    public String getRangeId() {
        return StringUtil.safeString(rangeId);
    }

    public String getDayTitle() {
        return StringUtil.safeString(dayTitle);
    }
}
